-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19846 Drop JUnit 4 usage #11177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
HHH-19846 Drop JUnit 4 usage #11177
Conversation
hibernate-core/src/test/java/org/hibernate/orm/test/cache/LockModeTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/cache/LockModeTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/cache/LockModeTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/cache/RefreshUpdatedDataTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/event/MergeContextTest.java
Dismissed
Show dismissed
Hide dismissed
hibernate-core/src/test/java/org/hibernate/orm/test/event/MergeContextTest.java
Dismissed
Show dismissed
Hide dismissed
hibernate-core/src/test/java/org/hibernate/orm/test/event/MergeContextTest.java
Dismissed
Show dismissed
Hide dismissed
hibernate-core/src/test/java/org/hibernate/orm/test/event/MergeContextTest.java
Dismissed
Show dismissed
Hide dismissed
| public void resetListener() { | ||
| @BeforeEach | ||
| void setUp(SessionFactoryScope scope) { | ||
| SessionFactoryImplementor sessionFactory = scope.getSessionFactory(); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
| entityManagerFactory.unwrap( SessionFactoryImplementor.class ).getEventListenerRegistry() | ||
| .prependListeners( EventType.LOAD, new SecuredLoadEntityListener() ); | ||
|
|
||
| Customer customer = entityManager.find( Customer.class, customerId ); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
3d34cc4 to
aec88b7
Compare
aec88b7 to
e2b800b
Compare
| assertEquals( 2, readWriteVersionedCacheableItem.getTags().size() ); | ||
| // open another session | ||
| s2 = scope.getSessionFactory().openSession(); | ||
| s2.beginTransaction(); |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null Warning test
[Please describe here what your change is about]
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-19916